home *** CD-ROM | disk | FTP | other *** search
- IMPORTANT
- =========
-
- The ixemul p.OS support will almost certainly contain bugs. Please let me
- know of any problems.
-
- Major missing features in the p.OS port:
-
- - no fifo: and ixpipe:
- - ixtimezone hasn't been ported to p.OS
-
- There is also no support for hard or soft links since p.OS doesn't support
- this (yet). The same is true for network support.
-
- Hans Verkuil (hans@wyst.hobby.nl)
-
-
-
-
- Starting with ixemul 46.0 some basic support for p.OS has been added which
- was (mostly) finished in ixemul-47.0.
-
- It turns out that the link formats are identical between AmigaOS and p.OS,
- and that p.OS will set the d0 register to 'pOS\0' when your program is first
- called. So the ixemul startup code can test under which OS it is running by
- testing the d0 register and use the appropriate code for each OS. This way
- you can run the same program under both AmigaOS and p.OS, as long as no
- kernel calls are used by your program, only ixemul calls are allowed.
-
- If you nevertheless want to use kernel calls, you must test the "int ix_os;"
- global variable which is set to 0 when running under AmigaOS and to
- OS_IS_POS (see ix.h for the OS_IS_AMIGAOS and OS_IS_POS macros) when
- running under p.OS.
-
- If your program only supports AmigaOS for example, then you should test
- this global like this:
-
- if (ix_os != OS_IS_AMIGAOS)
- {
- ix_req(NULL, "Abort", NULL, "%s supports only AmigaOS!", __progname);
- exit(20);
- }
-
- The function ix_req is an OS independent function that will show a
- requester with the given format string, title and buttons. See ix.h
- for the prototypes.
-
- Finally, the libc.a debug function KPrintF() has been adapted to work on both
- OSes.
-
- There is one class of programs that will not yet work on both OSes, and
- that are the programs that use the shared ixlibraries. E.g. all the X
- clients will for now only work on AmigaOS.
-
- But all other programs, as long as they don't use kernel calls, will work
- on both OSes.
-
- Hans Verkuil (29-6-1997)
-